﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace community_severvice_exchange
{
    [Serializable]
    public class User
    {
        public List<int> skills = new List<int>();
        public List<int> user_needs = new List<int>();
        //public List<int> user_needs {get;set;}
        public List<Feedback> list_feedback = new List<Feedback>();
        public List<string> list_date = new List<string>();

        public User(string name,string psw)
        {
            this._name = name;
            this._psw = psw;
        }
        
        private string _name;
        private string _psw;
        
        public string Name
        { 
            get { return _name; }
            set { _name = value; }
        }
     
        public string Address{get;set;}
        public override string ToString()
        {
            return "User:"+" "+this.Name + "  "+"Psw: " +this._psw+"  "+"Address: " + this.Address;
        }
    }
}
